//
//  FirstViewController.h
//  gee
//
//  Created by apple on 11-5-11.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface FirstViewController : UIViewController<UITextFieldDelegate>
{

    
    IBOutlet UIButton    *btn_login;
    IBOutlet UIButton    *btn_clear;
    IBOutlet UIButton    *btn_toregister;
    
    
    
    IBOutlet UITextField *txt_username;
    IBOutlet UITextField *txt_password;
    IBOutlet UISwitch    *swi_checkRememberMe;
    IBOutlet NSString    *loggingOnUser; 
    
    IBOutlet UIButton    *btn_background;

    
}

@property (nonatomic, retain) IBOutlet UITextField *txt_username;
@property (nonatomic, retain) IBOutlet UITextField *txt_password;
@property (nonatomic, retain) IBOutlet UISwitch *swi_checkRememberMe;
@property (nonatomic, retain) IBOutlet UIButton *btn_login;
@property (nonatomic, retain) IBOutlet UIButton *btn_clear;
@property (nonatomic, retain) IBOutlet UIButton *btn_toregister;
@property (nonatomic, retain) IBOutlet UIButton *btn_background;

@property (nonatomic, retain) NSString *loggingOnUser;


-(IBAction)backgroundTap:(id)sender;
-(IBAction)handleLogonClick:(id)sender;
-(IBAction)resetLoginClick:(id)sender;

-(IBAction)handle_register_click:(id)sender;

-(void)dismis_the_keyboard;
@end
